package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 元数据管理对象 sf_dg_metadata
 * 
 * @author ruoyi
 * @date 2024-05-28
 */
public class SfDgMetadata extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 数据库表 */
    @Excel(name = "数据库表")
    private String tableName;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String columnName;

    /** 字段类型 */
    @Excel(name = "字段类型")
    private String columnType;

    /** 业务含义 */
    @Excel(name = "业务含义")
    private String reamrk;

    /** 技术属性 */
    @Excel(name = "技术属性")
    private String property;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setColumnType(String columnType) 
    {
        this.columnType = columnType;
    }

    public String getColumnType() 
    {
        return columnType;
    }
    public void setReamrk(String reamrk) 
    {
        this.reamrk = reamrk;
    }

    public String getReamrk() 
    {
        return reamrk;
    }
    public void setProperty(String property) 
    {
        this.property = property;
    }

    public String getProperty() 
    {
        return property;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tableName", getTableName())
            .append("columnName", getColumnName())
            .append("columnType", getColumnType())
            .append("createTime", getCreateTime())
            .append("reamrk", getReamrk())
            .append("property", getProperty())
            .toString();
    }
}
